package com.nondo.rdp.finance.service.impl.collection;

import com.nondo.rdp.finance.domain.collection.XimalayaAlbumList;
import com.nondo.rdp.finance.repository.collection.XimalayaAlbumListRepository;
import com.nondo.rdp.finance.service.collection.XimalayaAlbumListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Transactional
@Service
public class XimalayaAlbumListServiceImpl implements XimalayaAlbumListService {
    @Autowired
    XimalayaAlbumListRepository ximalayaAlbumListRepository;

    @Override
    public List<XimalayaAlbumList> findByAlbumId(int albumId) {
        return this.ximalayaAlbumListRepository.findByAlbumId(albumId);
    }
}